package com.xujianlong.gmallpublisher1.service.imply;


import com.xujianlong.gmallpublisher1.bean.ProvinceStats;
import com.xujianlong.gmallpublisher1.mapper.ProductStatsMapper;
import com.xujianlong.gmallpublisher1.mapper.ProvinceStatsMapper;
import com.xujianlong.gmallpublisher1.service.ProvinceStatsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ProvinceStatsServiceImpl implements ProvinceStatsService {
    @Autowired
    ProvinceStatsMapper provinceStatsMapper;
    @Override
    public List<ProvinceStats> getProvinceStats(int date) {
        return provinceStatsMapper.selectProvinceStats(date);
    }
}
